<?php

namespace wxml\libs;

use yii\base\Model;

class CommonFormModel extends Model
{

    public function getErrMsg(){
        $error=$this->getFirstErrors();
        $key=array_keys($error)[0];
        return $error[$key];
    }

}
